﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>@ViewData["Title"] </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="~/layui-v2.5.5/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="~/css/myCss.css" media="all">
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <header>
            <div class="layui-header">
                <marquee direction="left" behavior="alternate" scrollamount="10" hspace="90" vspace="16" onMouseOut="this.start()" onMouseOver="this.stop()">
                    <font color="white" size="5">
                        欢迎您，@ViewData["teacherName"] 现在是： @DateTime.Now.ToString("yyyy 年 MM 月 dd 日")
                        <div id="Hour" style="display:inline">
                            @DateTime.Now.Hour
                            <script>
                                setInterval("hour()", 1000);
                                function hour() {
                                    if (new Date().getHours() <= 9) {
                                        document.getElementById('Hour').innerHTML = '0' + new Date().getHours();
                                    }
                                    else {
                                        document.getElementById('Hour').innerHTML = new Date().getHours();
                                    }
                                }
                            </script>
                        </div>
                        <div style="display:inline">:</div>
                        <div id="Minutes" style="display:inline">
                            @DateTime.Now.Minute
                            <script>
                                setInterval("minutes()", 1000);
                                function minutes() {
                                    if (new Date().getMinutes() <= 9) {
                                        document.getElementById('Minutes').innerHTML = '0' + new Date().getMinutes();
                                    }
                                    else {
                                        document.getElementById('Minutes').innerHTML = new Date().getMinutes();
                                    }
                                }
                            </script>
                        </div>
                        <div style="display:inline">:</div>
                        <div id="Seconds" style="display:inline">
                            @DateTime.Now.Second
                            <script>
                                setInterval("seconds()", 1000);
                                function seconds() {
                                    if (new Date().getSeconds() <= 9) {
                                        document.getElementById('Seconds').innerHTML = '0' + new Date().getSeconds();
                                    }
                                    else {
                                        document.getElementById('Seconds').innerHTML = new Date().getSeconds();
                                    }

                                }
                            </script>
                        </div>
                    </font>
                </marquee>
            </div>
        </header>
        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <ul class="layui-nav layui-nav-tree ">
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">处理学生奖惩</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/ZJC/Index">处理学生奖励</a></dd>
                            <dd><a href="/ZJC/ShowPunish">处理学生惩罚</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">提交工作计划</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/ZJC/CommitPlan">工作计划审核</a></dd>
                            <dd><a href="/ZJC/SubmitPlan">上传工作计划</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">文件管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/ZJC/DocManager">物资审核</a></dd>
                            <dd><a href="/ZJC/ConventionManager">会议审核</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="/ZJC/SearchTeacher">教职工信息查询</a></li>
                </ul>
                <span class="layui-nav-bar"></span>
            </div>
        </div>
        <div class="layui-body">
            @RenderBody()
        </div>
    </div>
    @RenderSection("Scripts", required: false)
</body>
</html>
